<?php
require dirname(__FILE__).'/loadphplib.php';

function tk_check_domain_can_register($domain){
	$api='https://api.domainshare.tk/availability_check';
	$data=array(
		'email'=>'jinhongyu@foxmail.com',
		'password'=>'china@888',
		'domainname'=>'pdfddd.tk'
	);
	$url=$api.'?'.http_build_query($data);
	echo $url;

}

$doamin='baidu.tk';
tk_check_domain_can_register($domain);
?>